package com.practice.share.model.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "`like_message`")
public class LikeMessage {
    @Id
    @Column(name = "`like_id`")
    private Integer likeId;

    @Column(name = "`user_id`")
    private Integer userId;

    @Column(name = "`article_id`")
    private Integer articleId;

    @Column(name = "`create_time`")
    private Date createTime;

    private UserMessage userMessage;


}